/**
 * 
 */
package chatsystem;

import java.util.Hashtable;

/**
 * @author Thibaut POUZET
 *
 */
public class HashtableAdapter implements CollectionContactTarget {

	/**
	 * 
	 */
	private Hashtable<String,Contact> t = new Hashtable<String,Contact>();
	
	public void add(Contact contact) {
		t.put(contact.getNickname(), contact);
	}

	public void remove(String nname) {
		t.remove(nname);
	}
	
	public void removeAll() {
	
	}
	
	public Contact get(String nname) {
		return t.get(nname);
	}
	
	public Iterator iterator() {
		
	}
}
